home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The World of Computer Software
/
The World of Computer Software.iso
/
ply15dat.zip
/
ROOM2.PI
< prev
next >
Wrap
Text File
|
1992-09-19
|
1KB
|
43 lines
// All that follows is everything in the scene, except the reflective sphere
background Midnight_Blue
light <-2, 30, -2>
include "..\colors.inc"
// Make the test scene - cylinders arranged in a hexagon on a checkered plane
object {
disc <0, -2.001, 0>, <0, 1, 0>, 50
texture { checker matte_white, matte_black }
}
define bot_vec <6, -2, 0>
define top_vec <6, 8, 0>
object {
cylinder rotate(bot_vec, <0, 0, 0>), rotate(top_vec, <0, 0, 0>), 1
shiny_red
}
object {
cylinder rotate(bot_vec, <0, 60, 0>), rotate(top_vec, <0, 60, 0>), 1
shiny_yellow
}
object {
cylinder rotate(bot_vec, <0, 120, 0>), rotate(top_vec, <0, 120, 0>), 1
shiny_green
}
object {
cylinder rotate(bot_vec, <0, 180, 0>), rotate(top_vec, <0, 180, 0>), 1
shiny_cyan
}
object {
cylinder rotate(bot_vec, <0, 240, 0>), rotate(top_vec, <0, 240, 0>), 1
shiny_blue
}
object {
cylinder rotate(bot_vec, <0, 300, 0>), rotate(top_vec, <0, 300, 0>), 1
shiny_magenta
}